function verify_radio () {
}

window.onload = function() {
	document.getElementById("goon").onclick = function() {
		var can_submit = true;
		for(var i = 1 ; i < 21 ; ++i) {
			var radios = document.getElementsByName('objitem' + i);
			if(!radios[0].checked && !radios[1].checked && !radios[2].checked && !radios[3].checked) {
				can_submit = false;
				break;
			}
		}
		if(can_submit) {
			document.forms[0].submit();
		} else {
			alert('您有漏选的题');
		}
	}
	document.getElementById("goback").onclick = function() {
		history.back();
	}
}
